package com.example.spring_forum.exception.model;

import lombok.Data;

import java.util.Date;
@Data
public class Article {
    private Long id;

    private Long boardId;

    private Long userId;

    private String title;

    private Integer visitCount;

    private Integer replyCount;

    private Integer likeCount;

    private Byte state;

    private Byte deleteState;

    private Date createTime;

    private Date updateTime;
    //是否是作者本人帖子
    private Boolean own;

    private String content;
    //与User建立关联关系
    private User user;
    //建立板块的关联关系
    private Board board;



}